using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.Mvc;
using JSC.Portal.Web.Helper;
using JSC.Portal.Web.Models;

namespace JSC.Portal.Web.Controls
{
	/// <summary>
	/// This is the base class for every template usercontrol.
	/// An idea of the Cuyahoga project
	/// </summary>
	public abstract class BaseTemplateControl : ViewUserControl<TemplatedViewData>
	{
        public bool IsInPageDesigner
        {
            get
            {
                return this.ViewData.Model is DesignPageViewData;
            }
        }
	}
}
